﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPages/Empty.Master"
    CodeBehind="InstallmentGridPrint.aspx.cs" Inherits="Pap.Web.Modules.Loan.Views.GridPrint"
    meta:resourcekey="PageResource1" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <link href="../../../Styles/grid.css" rel="stylesheet" type="text/css" media="print" />
    <center>
        <table width="100%" border="3">
            <tr>
                <td>
                    <div width="100%">
                        
                            <asp:GridView CssClass="grid" runat="server" ID="grv" AutoGenerateColumns="false"
                                CellPadding="12" CellSpacing="10" dir="rtl" width="100%" AlternatingRowStyle-BackColor="#99CCFF" BorderStyle="Solid" BorderWidth="2" Font-Size="Medium" HeaderStyle-BackColor="#3366FF" HeaderStyle-ForeColor="White" HeaderStyle-HorizontalAlign="Center">
                                <Columns>
                                    <asp:BoundField DataFormatString="{0:dd/MM/yyyy}" DataField="InstallmentDate" HeaderText="<%$Resources:HeaderInstallmentDate%>" HeaderStyle-Font-Bold="true"  />
                                    <asp:BoundField DataField="OriginalInstallmentAmount" HeaderText="<%$Resources:HeaderAmount%>" DataFormatString="{0:C2}" HeaderStyle-Font-Bold="true" />
                                    <asp:BoundField DataField="InterestInstallmentAmount" HeaderText="<%$Resources:HeaderInterestAmount%>" DataFormatString="{0:C2}" HeaderStyle-Font-Bold="true" />
                                    <asp:BoundField DataField="TotalInstallmentAmount" HeaderText="<%$Resources:TotalInstallmentAmount%>" DataFormatString="{0:C2}"  HeaderStyle-Font-Bold="true" />
                                </Columns>
                            </asp:GridView>
                        
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <ext:Button runat="server" Cls="printHide" ID="btnPrint" Text="Print" meta:resourcekey="btnPrintResource">
                        <Listeners>
                            <Click Handler="window.print()" />
                        </Listeners>
                    </ext:Button>
                </td>
            </tr>
        </table>
    </center>
</asp:Content>
